﻿@model PracticeAzure.Website.Models.CorrigendumIndexViewModel

@{
    ViewBag.Title = "勘误";
}

@if (User.Identity.IsAuthenticated)
{ 
    <div class="corrigendum-create-container" style="text-align: right;">
        @Html.ActionLink("创建新勘误", "Create")
    </div>
}

@Html.DisplayFor(model => model, "Pager")

<table style="border-style: none;">
    @foreach (var corrigendum in Model.Corrigendums)
    { 
        @Html.DisplayFor(model => corrigendum, "CorrigendumListItem");
    }
</table>

@Html.DisplayFor(model => model, "Pager")
